package com.gxa.insurance.service;

import com.gxa.insurance.exception.BusinessException;
import com.gxa.insurance.pojo.Coupon;
import com.gxa.insurance.pojo.Customer;
import com.gxa.insurance.pojo.Exchange;

import java.util.List;
import java.util.Map;

/**
 * @author lijunlin
 * @date 2022/6/7
 */
public interface ExchangeService {
    Integer addExchange(Exchange exchange);
    Map<String,Object> selectByPage(Integer currentPage, Integer pageSize);
    Exchange selectById(Integer integer) throws BusinessException;
    void updateExchange(Exchange exchange) throws Exception;
    void deleteExchange(Integer integer);

}
